public class Test {
    public static void main(String[] args) {
        MyStack s1=new MyStack();

       try{
           s1.pop();
       }catch(StackException c){
           System.out.println("栈为空!!!");
       }

    }
}
